jQuery(document).on("pageinit", "[data-role='page'][data-pagetype='infocontent']", function() {
    var page = jQuery(this);
    var infoid = get_url_params(page.jqmData("url"), "id");
    var url_info_content_swipeshow_items = URL_ACTION_NEWS_SWIPESHOW_ITEMS;

    var info_content_swipeshow_render = jQuery.extend(true, {}, swipeshow_render, {
        components:{
            page: page,
            slider: page.find("#slider"),
            slider_nav: page.find("#slider_nav"),
        },

        handler: function(items){
            swipeshow_render.handler.call(info_content_swipeshow_render, items);
        },
    });


    jQuery.getJSON(URL_ACTION_INFO_CONTENT, {"id": infoid}, function(result) {
        page.find("h2").html(result.name)
            .end().find("div.con_padding_top p").html(result.content);
    });

    info_content_swipeshow_render.render(url_info_content_swipeshow_items, {});
});
